package com.kede.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kede.domain.UnishopProductDomain;
import com.kede.pojo.PagePO;
import com.kede.pojo.ResHttp;
import com.kede.pojo.ShopProduct;

import java.util.List;

/**
* @author 11856
* @description 针对表【sy_unishop_product(产品表)】的数据库操作Service
* @createDate 2023-06-17 12:30:56
*/
public interface UnishopProductService extends IService<UnishopProductDomain> {

    /**
     * 得到置换物品分类
     *
     * @return {@link ResHttp}
     */
    List<ShopProduct> getZhiCateGood();

    ResHttp getMyGoods(PagePO pagePO,Integer storeUserId, String cateName, String keyword);

    /**
     * 获取我的物品的各类统计数
     * @param storeUserId
     * @return
     */
    List<ShopProduct> getMyGoodNum(Integer storeUserId);

}
